package com.example.xxpk.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangguihong
 * @since 2025-02-13
 */
@Getter
@Setter
@ApiModel(value = "Boxes对象", description = "")
public class Boxes implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("宝箱 ID")
    @TableId(value = "box_id", type = IdType.AUTO)
    private Integer boxId;

    @ApiModelProperty("宝箱类别(1普通宝箱 2超级宝箱 )")
    private Integer type;

    @ApiModelProperty("价格")
    private Integer price;

    @ApiModelProperty("宝箱描述，包含开箱可获得的物品等信息")
    private String description;

    @ApiModelProperty("每日购买限制次数")
    private Integer dailyPurchaseLimit;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
}
